package org.freespace.document.dao.impl;

import org.freespace.document.dao.MemberReadHistoryDao;
import org.freespace.document.MemberReadHistory;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class MemberReadHistoryDaoImpl implements MemberReadHistoryDao {

    @Resource
    private MongoTemplate mongoTemplate;

    @Override
    public void saveDemo(MemberReadHistory demoEntity) {
        mongoTemplate.save(demoEntity);
    }

    @Override
    public void removeDemo(Long id) {

    }

    @Override
    public void updateDemo(MemberReadHistory demoEntity) {

    }

    @Override
    public MemberReadHistory findDemoById(Long id) {
        return null;
    }
}
